// JavaScript Document

/**
 * 修改密码
 */
function updatePwd(){
    var targetURI = $('#updatePwd').attr("action");
    var requestData = $('#updatePwd').serialize();
    $.ajax({
        url: targetURI,
        method: 'post',
        data: requestData,
        dataType: 'json',
        async: true,
        success: function(data){
            layer.msg(data.SUCCESS);
        },
        error: function(err){
            layer.msg("请求回调失败");
        }
    });
}

